moved login page to home controller, changed account controller to api controller