added last login feature