fixed default login page route, added password hashing for registration