develop login filter