added prettyUrl from login