added database, login and rspec