handling referers while create new users; fix for action_delete()