Modified user class and removed a main_controller test