Login and registration now works. Login and registration pages are restricted when you are logged in. Logout button added to top corner when you are logged in.