databaseAndAuth()
Factory that sets up local storage of users, connection with the database, and connection with the databse authentication methods. It also passess all the relevant dependencies into controllers. All controlers will have access to the db through this
- Source: