Removed the session.removeAttribute("authtype") from signIn.
Removed the commented out codes from signIn.
Removed the commented out codes from welcome.