adding navbar buttons
redirecting to login on logout