Enhance login form conditions