login logout with mock data