added logic to hide password fields if not needed by current user
removed redundant sign-in notice when redirected