cleans sign in/up with bootstrap, extract redirects to controller functions