trying to make the login work
sql for the login is working (i think)
stores the user id in the user session