Bugfixed the userREST func and factory for viewbooking.js