Login Activity changes for cloud code