Adds missing timeout for database
Adds Devise gem and configuration.
Implements Devise