added code to keep user where they should be

fixed indenting stuff, added push back code to check if the user is a
parent or not and if they go to the wrong place it sends them back.
also added session storage clearing on logout. closes #88