Added pages for registration/login/logout and made them work