fix bug that ajax methods return home uri to non-admin user