Update planner.py

Added an else statement for myacct_route to redirect the user to the login screen if the user is not logged in.