Setup user rest actions. Setup mail service.