made code changes for implementation of creating default image at time of user registration