creating page cover and login methods