started building the authentication layer