Homepage register/login

Homepage form now automatically signs in if the e-mail exists and the
password is correct. If the e-mail doesn't exist it will create an
account and login.