Migrate main controllere to user resource and model services
Clear code