refactoring user url