added the invites model and mapping api
added basic basic authentication for admins
created friendly addresses for pages