Added registration model that was missing. Added relations between models