added redirection if user not logged in