changes redirect logic for creating users