Added back register and login, sorry for mess up earlier