update login and fix profile foto change