Added sessions, so the user stays logged in