Fix Mail Login Bug