Prevent logged user from visiting login page
Now duplicate users cannot be registered, added error page