made login+register+resetpassword into SPA, added password resetting