loginHandler changes

made some changes to to the loginhandler php script so that it will work
with our database.