redirect to log-in page if user reached register page without
loggin-in