Fix login, bindParam etc