fixed user_id constraint problem and included proxied-appfog environment