Fixed create_account to set user object in session