Revamped the LastLogin handling. It should now be more OO like...I hope.