Added some code for readlog button.
Provided show username and type on main page