From http://www.webtechideas.com/how-to-get-last-login-time-in-wordpress/