Set validation for Avatar, and changed 'Signup' to login at the same time