Fixing User signin and post saving

- Move the customer User functions to model
- Fix the sending of UUID's up to the server
- Check for logged in user in AuthenticatedRoute