Modified the way username is generated and separate password update from profile updates