adjusting the session cookies and checking when user is logged in, adding spellbook creating