done chat, fixed reset pattern, added a change pattern after reset
fixed sso, fixed the pattern and image position and took out some debug
printlns