Used the Authentifications library instead of the bigger objects.