added database for registering users