renaming the login and logout sql functions to session create and session delete
updating the session create and session validate sql