add the Auth service and semi column in function