OK, move the link to home page
Simplify code: Use model Author to implement the login times statistic

And this fixes a potential bug, if the session be set to expire after a
short time which is less than one day. If the inactive time duration
cross the 0:00AM will cause a renew of the session's last_request to
now, this will zero the coninuous login.