Made User db and necessary checks for User table in user.rb.