Implemented service layer authentication