added authentication, will redirect to /login if user is not authenticated
added login and register pages
filled in register page
submitting registration form