Update planner.py

Added line to install redis plugin.
Added some notes for thought process on redis database.
Added isLoggedIn() to replace a few repeating cookie checks.
Changed login_submit() to use redis.

Should function just as it did before I modified the file.