Last login and activity dates were not displaying correctly