Fixes in user_controller test