User registration and login

Basic login and registration. index.html and register.html are
temporary, just used to test functionality.