fixed login/signup controller with routes