Fixed the log out and change password issues.