Fix setting of :user-id
Try using username when setting session's :user-id