Fixed bug in getting user stats. Some ui changes