removed string length validation for user profile photo. code cleanup. changed unit tests