Added last_login set, fixes #377