optimize loginview lecture view question view