fix profile pic and fix form validation