Debug #1

Login has issue when updating credentials files. Update communication
protocol. Take out useless logs. Finish Login Activity.