Refactor code in LognActivity
Make minor changes
MMM
MMM
MMM
MMM