It's probably returning "user"
because the name
function returns only the name.
(name :cemerick.friend-demo.users/user)
;=> "user"
You could get away with calling str
on each keyword before inserting them into the database.
(str :cemerick.friend-demo.users/user)
;=> ":cemerick.friend-demo.users/user"