Moved user auth for testing