modified construct, added lib session, added security for password encryption, changed the function login name to log, added fuction logout