show login page if user not logged in case of video player
set image resolution