Work on the ratings and invitations

- ratings stored on the server to assure user cant rate twice
- invites should now work as needed