Combine login/signup process, see #8
Fix redirects