Authenticate users by means of Google and Github Oauth or using a local authentication algorithm and save them in the database.