added autentication parts