fixed login issues with new login decorator