Incorporated bycrypt and authentication