Adding the auth module and checking authentification