added uid and gid settings to uwsgi template