Adding login filters for authentication