added invitations, profile controller, email config
added invitations, profile controller, email config
added profiles controller and views
code cleanup