require login method written