connecting login to database
can now register users
reverted merge
register works