Added logging for user login failures