moved to service folder and auth works!