Sessions and logging in work

yaaay