Authentification API + Refactoring

utilisation bcrypt