some database changes

made some changes to the user table and the login scripts