fixing routing issues for forgotten password