Added 'Last login' functionality