restructured auth data into user and profile