fixed login required