added database; update user login; updated user registration; lots of other stuff