Modified user_controller: added space between switch and cases