Change to omniauth
Refactor rest.api with .build and add hasOne support
Merge (?)