added entities and rest services for user and profile