add method to setup user and password for gmail, added logging