Started to created profile service, move profile db functions from user rep into the service.